package com.study.phone;

public class PhoneDemo01 {
    public static void main(String[] args) {
        Phone p=new Phone();
        System.out.println(p.brand);
        System.out.println(p.price);
        p.brand = "华为";
        p.price =2999;
        System.out.println(p.brand);
        System.out.println(p.price);
        p.call();
        p.sendMessage();
    }
}
